<layout name="layout" />
<div class="main-div">
    <form name="main_form" method="POST" action="__SELF__" enctype="multipart/form-data">
        <table cellspacing="1" cellpadding="3" width="100%">
            <tr>
                <td class="label">分类ID：</td>
                <td>
                  {:buildSelect('company_category','cat_id','id','name');}
                </td>
            </tr>
            <tr>
                <td class="label">标题：</td>
                <td>
                    <input  type="text" name="title" value="" />
                </td>
            </tr>
            <tr>
                <td class="label">简介：</td>
                <td>
                    <input  type="text" name="summary" value="" />
                </td>
            </tr>
            <tr>
                <td class="label">文章来源：</td>
                <td>
                    <input  type="text" name="article_from" value="" />
                </td>
            </tr>

            <tr>
                <td class="label">文章图片：</td>
                <td>
                	<input type="file" name="pic" /> 
                </td>
            </tr>
            <tr>
                <td class="label">文章详情：</td>
                <td >
                    <label for="detail"></label><textarea id="detail" name="detail" cols="100" rows="100"></textarea>
                </td>
            </tr>
            <tr>
                <td colspan="99" align="center">
                    <input type="submit" class="button" value=" 确定 " />
                    <input type="reset" class="button" value=" 重置 " />
                </td>
            </tr>
        </table>
    </form>
</div>


<link href="__PUBLIC__/umeditor1_2_2-utf8-php/themes/default/css/umeditor.css" type="text/css" rel="stylesheet">
<script type="text/javascript" src="__PUBLIC__/umeditor1_2_2-utf8-php/third-party/jquery.min.js"></script>
<script type="text/javascript" charset="utf-8" src="__PUBLIC__/umeditor1_2_2-utf8-php/umeditor.config.js"></script>
<script type="text/javascript" charset="utf-8" src="__PUBLIC__/umeditor1_2_2-utf8-php/umeditor.min.js"></script>
<script type="text/javascript" src="__PUBLIC__/umeditor1_2_2-utf8-php/lang/zh-cn/zh-cn.js"></script>
<script>
    UM.getEditor('detail',{
        initalFrameWidth :"100%",
        initalFrameHeight :100
    });
</script>